package mfpc.dao;

import javax.persistence.EntityManager;

import mfpc.connection.ConnectionFactory;

public class DAOTest {

	
	private EntityManager em = null;
	
	public DAOTest(){
		em = ConnectionFactory.getConnection();
		
	}
	
	public EntityManager getConnection(){
		return em;
	}
	public void close(){
		
		em.close();
	}
	
}
